Show AllShow All

ChartType Property

Returns or sets the chart type. Read/write XlChartType.

expression.ChartType

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the bubble size in chart group one to 200 percent of the default size if the chart is a 2-D bubble chart.

With myChart
    If .ChartType = xlBubble Then
        .ChartGroups(1).BubbleScale = 200
    End If
End With